home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #5 / Software USA Volume 4.05.iso / mac / Education / HTML Tricks / Extreme Mac HTML Tricks v2.1 / Extreme Mac HTML Tricks v2.1.rsrc / TEXT_130.txt < prev    next >
Text File  |  1996-10-31  |  2KB  |  48 lines

  1.  
  2.     
  3.  
  4.         It's time to begin a step by step process of making your first web page. Be sure to compare your code to mine, making no typos. 1 typo can mess up a pages content. Don't worry to much about errors. They will always happen frequently. Just use the "Trial and Error" method of solving your problems that you may encounter. (I doubt you'll have many)
  5.  
  6.     This is what your html code should look like by now. It won't be exact because you'll be modifying the black text , but it should look similar.
  7. <html>
  8. <HEAD>
  9. <TITLE>Put the Title Here</TITLE>
  10. </HEAD>
  11. <body bgcolor="#ffffff" background="imagelocation.gif" text="#000000" link="#0000ff" vlink="#00005a">
  12.  
  13.  
  14. </body>
  15. </html>
  16.  
  17.     You now want to add a heading in your web page. A heading is a larger text that usually corresponds to the content of your page. Lets say you're making a Macintosh page. Mine would be titled
  18. Extreme Mac. Now in order to get it the size and position you want, you'll have to look at the blue html code below.
  19.  
  20. <H1>Header 1</H1>
  21. <H2>Header 2</H2>
  22. <H3>Header 3</H3>
  23. <H4>Header 4</H4>
  24. <H5>Header 5</H5>
  25. <H6>Header 6</H6>
  26.  
  27.     You should see the pattern. <h1> gives the text the largest size possible. You always have to end the tag with a </h1>. If you don't the result will be a continuation of the heading size throughout the entire page. Think of baseball. You have to have a pitcher and a catcher. If you want to center your heading on the top of your page, just add in the code: <center> and </center> like this:
  28. <center><h1>Extreme Mac</h1></center>
  29. Now your html code should look similar to:
  30. <html>
  31. <HEAD>
  32. <TITLE>Put the Title Here</TITLE>
  33. </HEAD>
  34. <body bgcolor="#ffffff" background="imagelocation.gif" text="#000000" link="#0000ff" vlink="#00005a">
  35. <center><h1>Extreme Mac</h1></center>
  36. <p>
  37. </body>
  38. </html>
  39.  
  40. Currently your page would look like an empty window with a centered text on the top middle of your screen saying:
  41.  
  42.                                                         Extreme Mac
  43. Now add in a <p> as you can see above the </body> to make all the rest of the text written later appear in a new paragraph beneath
  44. your heading.
  45.  
  46.  
  47.  
  48.